<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			
			// 写入localstorage
			window.localStorage.username = 'shyoki';
			
			// 读取localstorage
			console.log(window.localStorage.username);
			
			
		</script>
		
		
		
	</body>
</html>
